package frame;

import temp.Temp;
import tree.Exp;
import tree.TEMP;

public class InReg extends frame.Access {

	Temp temp;

	public InReg(Temp t) {
		temp = t;
	}

	@Override
	public Exp exp(Exp fp) {
		return new TEMP(temp);
	}

	@Override
	public String toString() {
		return temp.toString();
	}
}
